package com.reebake.ideal.system.entity;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

 /**
 * 待办
 * 
 */
@Schema(name = "待办", description = "")
@TableName("idl_work_pending")
@Data
public class WorkPending implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;

    /** 主键 */
    @Schema(name = "主键", description = "")
    @TableId
    private String workPendingId;

    /** 用户编号 */
    @Schema(name = "用户编号", description = "")
    private String userId;

    /** 用户分组编号 */
    @Schema(name = "用户分组编号", description = "")
    private String userGroupId;

    /** 标题 */
    @Schema(name = "标题", description = "")
    private String title;

    /** 内容 */
    @Schema(name = "内容", description = "")
    private String content;

    /** 发生时间 */
    @Schema(name = "发生时间", description = "")
    private Date occurrenceTime;

    /** 是否完成 */
    @Schema(name = "是否完成", description = "")
    private Boolean isComplete;

    /** 完成时间 */
    @Schema(name = "完成时间", description = "")
    private Date completeTime;

    /** 地址 */
    @Schema(name = "地址", description = "")
    private String url;

    /** 链接 */
    @Schema(name = "链接", description = "")
    private String link;

    /** 删除标识 */
    @Schema(name = "删除标识", description = "")
    @TableLogic
    private Boolean deleteFlag;

    /** 租户号 */
    @Schema(name = "租户号", description = "")
    private String tenantId;

    /** 乐观锁 */
    @Schema(name = "乐观锁", description = "")
    private Integer revision;

    /** 创建人 */
    @Schema(name = "创建人", description = "")
    @TableField(fill = FieldFill.INSERT)
    private String createdBy;

    /** 创建时间 */
    @Schema(name = "创建时间", description = "")
    @TableField(fill = FieldFill.INSERT)
    private Date createdTime;

    /** 更新人 */
    @Schema(name = "更新人", description = "")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private String updatedBy;

    /** 更新时间 */
    @Schema(name = "更新时间", description = "")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updatedTime;

}